package com.lhj.xxsc.auth;

import com.xxsc.common.config.XxscSessionConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableRedisHttpSession
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@Import(XxscSessionConfig.class)
public class XxscAuthServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(XxscAuthServerApplication.class, args);
	}

}
